package cn.study.luckyapp.listener.event;

import cn.study.luckyclient.dto.data.ActivityConfigVo;
import lombok.Getter;
import org.springframework.context.ApplicationEvent;
import org.springframework.web.bind.annotation.GetMapping;

@Getter

public class ActivityCreateEvent extends ApplicationEvent {
    /**
     * Create a new {@code ApplicationEvent}.
     *
     * @param source the object on which the event initially occurred or with
     *               which the event is associated (never {@code null})
     */
    private ActivityConfigVo activityConfigVo;
    public ActivityCreateEvent(Object source,ActivityConfigVo activityConfigVo) {
        super(source);
        this.activityConfigVo=activityConfigVo;
    }
}
